package cn.zl.rtsp.response.core;

import cn.zl.rtsp.response.RTSPResponse;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.DefaultHttpRequest;

/**
 * 处理options方法,获取服务器能力
 * */
public class OptionRTSPResponse extends RTSPResponse {

    public OptionRTSPResponse(ChannelHandlerContext context, DefaultHttpRequest request) {
        super(context, request);
    }

    @Override
    protected void write(StringBuilder builder) {
        builder.append("Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, ANNOUNCE, RECORD, SET_PARAMETER, GET_PARAMETER").append(R_N);
    }

}
